import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    range:162.65675735473633,   // 地图标准范围
    scale:{
      '国':null,
      '省':null,
      '市':null
    }
  },
  getters: {
  },
  mutations: {
    setMapScale(state,obj){
      state.scale[obj.type] = obj.scale;
    },
  },
  actions: {
  },
  modules: {
  }
})
